package wnxy.wn44.service.bo;

public class PoetryQueryParam {
    private String author;
    private String keyword;
    private String kind;
    private Integer pageNum;
    private Integer pageSize;


    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }

    @Override
    public String toString() {
        return "PoetryQueryParam{" +
                "author='" + author + '\'' +
                ", keyword='" + keyword + '\'' +
                ", kind='" + kind + '\'' +
                ", pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                '}';
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public PoetryQueryParam(String author, String keyword, String kind, Integer pageNum, Integer pageSize) {
        this.author = author;
        this.keyword = keyword;
        this.kind = kind;
        this.pageNum = pageNum;
        this.pageSize = pageSize;
    }

    public PoetryQueryParam() {
    }
}
